<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

</body>

</html>

<script>


  var student = ['小张', '小牧', '小明', '小红', '李华', '二麻子', '三' + '麻' + '子'];

  for (var i = 0; i < student.length; i++) {
    console.log(student[i], people); // student 在此处，在是 真正的用处
  }

  // console.log(student);


  // 补充：

  /*
  
    var i = 0;
    while (i < student.length) {
      console.log(student[i++]);
    }
  
  */


</script>